// vant 样式统一重置
// loading
.van-loading{
  // color: #999;
  // position: absolute;
  // top: 10%;
  // left: 50%;
  // transform: translate(-50%, -50%);
  // z-index: 9999;
  // .van-loading__text{
  //   color: #333;
  // }
}
.bg_white{
  .van-loading{
    background: #fff;
   }
}
// dialog
.van-overlay{
  
}
.van-dialog {
  top: 50%!important;
  .van-dialog__message{
    flex: initial;
    white-space: initial;
    -webkit-box-flex: initial;
    .contract {
      .content {
        .subtitle,
        .section,
        .sign {
          margin: 10px auto;
        }
        .subtitle {
          .fc(14px, @-color-normal);
        }
        .strong {
          color: @-color-light;
          font-weight: bold;
          margin: 10px auto 10px auto;
        }
        .red {
          color: #FF5E5E;
        }
        .blue {
          color: #00aaff;
        }
        .line {
          // text-decoration: underline;
          font-weight: bold;
        }
        p, i {
          font-size: 14px;
          margin: 10px auto;
        }
        ul li {
          font-size: 14px;
          // margin: 5px 0 5px 1.2em;
          // list-style: initial;
          // font-weight: bold;
        }
        .list {
          .fc(14px, #555);
          &>div {
            display: flex;
            span:last-child {
              flex:1;
            }
          }
        }
      }
    }
  }
  .van-button{
    font-size: 18px;
  }
}

// loading框
// .van-loading{
//   position: absolute;
//   top: 0;
//   left: 0;
//   width: 100%;
//   height: 100%;
//   background: rgba(51, 50, 48, 0.5);
//   z-index: 1000;
//   &>span{
//     position: fixed;
//     top: calc(50% - 15px);
//     left: calc(50% - 15px);
//     z-index: 2000;
//     fill: #fff;
//     color: #fff;
//   }
// }

// grid
// 首页
.finance_product_nav {
  .van-grid-item__content {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
  }
}
// 定期理财
.van-grid-item {
  &.qrp, &.asset, &.gznhg {
    .van-grid-item__content {
      padding: 11px 0 10px 0;
      border-radius: 4px;
      .van-image__img {
        width: 46px;
        height: 46px;
      }
      .image_text {
        letter-spacing: 0.57px;
      }
    }
  }
  &.qrp {
    .van-grid-item__content {
      background-image: linear-gradient(135deg, #ffb55a 0%, #ff6444 100%);
    }
  }
  &.asset {
    .van-grid-item__content {
      background-image: linear-gradient(-45deg, #944aff 0%, #f677ff 100%);
    }
  }
  &.gznhg {
    .van-grid-item__content {
      background-image: linear-gradient(-45deg, #335dfe 0%, #4f9fff 100%);
    }
  }
}

// tabs
.br-round.van-tabs {
  .van-tabs__wrap {
    border-radius: 4px;
  }
}
.pos-center.van-tabs {
  .van-tabs__wrap {
    height: 40px;
    .van-tabs__nav{
      justify-content: center;
      .ipo_fund_wrap{
        background: #fff;
      }
    }
    .van-tab {
      flex: initial;
      padding: 0 15px;
    }
  }
}
.van-tabs {
  .van-tabs__wrap {
    .van-tab.van-tab--active {
      font-weight: bold;
      color: #1f6aff;
    }
    .van-tabs__line {
      background-color: #1f6aff;
    }
  }
}

// dropdownmenu
.tc.van-dropdown-menu {
  .van-dropdown-menu__bar {
    .van-dropdown-menu__item {
      &:first-child{
         justify-content: center;
      }
    }
  }
}
.van-dropdown-menu {
  .van-dropdown-menu__bar {
    height: 34px;
    box-shadow: none;
    .van-dropdown-menu__item {
      &:first-child{
         justify-content: start;
      }
      .van-dropdown-menu__title {
        line-height: 34px;
        font-size: 13px;
        color: #666;
        padding: 0;
        &::after {
          content: "";
          width: 18px;
          height: 18px;
          background: url("../../assets/images/icon/icon_common_arrow_zhankai@2x.png")
            no-repeat;
          background-size: contain;
          transform: none;
          margin-top: -9px;
          right: -20px;
          opacity: 1;
          border: none;
        }
        &.van-dropdown-menu__title--down {
          &::after {
            transform: rotate(180deg);
          }
        }
      }
    }
  }
}
.van-dropdown-item {
  .van-overlay {
    background: rgba(0, 0, 0, 0.4);
  }
  .van-cell {
    color: #333;
    line-height: 21px;
    padding-left: 15px;
    &::after {
      border-bottom: 1px solid #dbdbdb;
      left: 15px;
      right: 15px;
    }
  }
}